package po;

public class Printer {

    public static boolean loadPaper(int papers) {
        boolean flag = false;
        System.out.println("可放入的纸张有：" + papers);
        if (papers > 0) {
            System.out.println("有纸可以打印");
            flag = true;
        } else {
            System.out.println("缺少纸张");
            flag = false;
        }

        return flag;
    }

}
